<template>
  <view class="y-card" >
    <image_shadow :src="src" :width="width" :shadow-radius="20"></image_shadow>
	<view>
		<i class="iconfont icon-shoucangxuanzhong"></i>
		<text>{{ num }}</text>
	</view>
    
  </view>
</template>

<script>
export default {
  name: "y_card",
  props: ["src", "num", "width"],
  data() {
    return {};
  },
};
</script>

<style lang="scss">
.y-card {
  position: relative;
  
  >view{
	  position: absolute;
	  top: 12px;
	  left: 12px;
	  background-color: rgba(0,0,0,0.2900);
	  padding: 6px 11px 6px 11px;
	  color: #fff;
	  
	  border-radius: 30px;
  }
}
</style>